package com.qiche.requestpram;

import lombok.Data;
import org.springframework.util.StringUtils;

/**
 * @author chendezhi
 * @date 2018/3/30 14:07
 *
 * 用户获取所有会员信息 URL
 */

public class UserGetAllMemberURL {
    private Long merchantId;
    private String memberName;
    private String memberPhone;

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        if(StringUtils.isEmpty(memberName)){
            this.memberName = null;
        }else{
            this.memberName = memberName;
        }

    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        if(StringUtils.isEmpty(memberPhone)){
            this.memberPhone = null;
        }else{
            this.memberPhone = memberPhone;
        }
    }
}
